﻿using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace RndMaterialDisposalService.Models.Entitys
{
    /// <summary>
    /// 
    /// </summary>
    [Table("ErrorLog",Schema = "Server")]
    public class ErrorLog
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ProcID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ProcInstID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public byte State { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Descr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Date { get; set; }
    }
}
